package org.coone.veteran.basic.function.lambda;

import java.util.function.BinaryOperator;

/**
 * Lambda表达式 多参数表达式创建
 * 
 * @author yangpeng
 */
public class LambdaMultiArgumentsDemo {

	public static void main(String[] args) {
		BinaryOperator<Integer> add = (x, y) -> x + y;

		System.out.println(add.apply(1010, 1008).longValue());
	}
}
